package com.tpc.jginterface.task;

import com.tpc.jginterface.service.OutInService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class OutInTask {

    @Autowired
    private OutInService outInService;

    @Scheduled(cron = "${UPLOAD.OUTIN}")
    public void OutInTask() {
        outInService.uploadOutIn();
    }
}
